com.highdeal.rangetable.hci
Class RangeTableRowPeriodObjectModel

java.lang.Object
  extended by com.highdeal.hci.HCIModelAdapter
      extended by com.highdeal.chrono.hci.AbstractPeriodObjectModel
          extended by com.highdeal.rangetable.hci.RangeTableRowPeriodObjectModel
All Implemented Interfaces:
IPeriodObjectModel, ITagNameProvider, IXMLMarshallable, XMLMapping, XMLMarshallable

public class RangeTableRowPeriodObjectModel
extends AbstractPeriodObjectModel
implements XMLMapping

This Java class represents a version of a row period in the range table row Chronology.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:complexType name="RangeTableRowPeriodObjectType">
   <xs:sequence>
     <xs:element name="rangeTableRow" type="RangeTableRowType" minOccurs="1" maxOccurs="unbounded" />
   </xs:sequence>
   <xs:attribute name="start" type="xs:dateTime"/>
   <xs:attribute name="end" type="xs:dateTime"/>
 </xs:complexType>


Field Summary
 
Fields inherited from class com.highdeal.chrono.hci.AbstractPeriodObjectModel
TAG_NAME
 
Constructor Summary
RangeTableRowPeriodObjectModel()
           
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds character data to the content element.
 void addChild(java.lang.String tagName, XMLMarshallable child)
          Adds a child to the object, the child representing the marshallable object which must be added to the element.
 java.lang.Class<?> getClass(java.lang.String nsUri, java.lang.String tag, XMLAttributes atts)
          Returns the Java class for a specified XML tag and its attributes in a namespace.
 java.util.List<RangeTableRowModel> getRangeTableRowList()
           
 void marshalChildren(XMLOutputter output)
          Gives an XML representation of the child objects of an object.
 
Methods inherited from class com.highdeal.chrono.hci.AbstractPeriodObjectModel
asTimeFrame, getEnd, getStart, getTagName, marshalAttributes, setAttributes, setEnd, setStart
 
Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RangeTableRowPeriodObjectModel

public RangeTableRowPeriodObjectModel()
Method Detail

getRangeTableRowList

public java.util.List<RangeTableRowModel> getRangeTableRowList()

marshalChildren

public void marshalChildren(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the child objects of an object.

Specified by:
marshalChildren in interface IXMLMarshallable
Parameters:
output - The XML output to marshal the child objects into

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the object, the child representing the marshallable object which must be added to the element.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - The name of tag for the child
child - The child to be added

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - The character data to be added

getClass

public java.lang.Class<?> getClass(java.lang.String nsUri,
                                   java.lang.String tag,
                                   XMLAttributes atts)
Description copied from interface: XMLMapping
Returns the Java class for a specified XML tag and its attributes in a namespace.

Specified by:
getClass in interface XMLMapping
Parameters:
nsUri - The unique resource identifier of the namespace of the XML tag
tag - The local part of the XML tag
atts - The attributes of the XML tag
Returns:
A Java class with a default constructor

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)